package com.have.blog.xo.service.admin.impl;

import com.have.blog.base.holder.RequestHolder;
import com.have.blog.commons.config.jwt.Audience;
import com.have.blog.model.mapper.TCategoryMenuMapper;
import com.have.blog.model.models.TCategoryMenu;
import com.have.blog.model.models.TCategoryMenuExample;
import com.have.blog.xo.service.admin.AdminResourceService;
import com.have.haveblog.security.utils.JwtTokenUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Service
@SuppressWarnings("all")
public class AdminResourceServiceImpl implements AdminResourceService {
    @Autowired
    private TCategoryMenuMapper categoryMenuMapper;
    @Autowired
    private JwtTokenUtil jwtTokenUtil;

    @Override
    public List<TCategoryMenu> listAll() {

        return categoryMenuMapper.selectByExample(new TCategoryMenuExample());
    }


}
